package com.lemon.components.video.info;

import java.util.List;

/**
 * 
 * @author JLCON
 * ffprobe -v quiet -print_format json -show_format -show_streams AIOX7561.mp4
 */
public class VideoInfo {

	private List<VideoStream> streams;
	private VideoFormat format;
	
	public List<VideoStream> getStreams() {
		return streams;
	}
	public void setStreams(List<VideoStream> streams) {
		this.streams = streams;
	}
	public VideoFormat getFormat() {
		return format;
	}
	public void setFormat(VideoFormat format) {
		this.format = format;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("VideoInfo [streams=");
		builder.append(streams);
		builder.append(", format=");
		builder.append(format);
		builder.append("]");
		return builder.toString();
	}
}
